package com.wangzefeng.shop.service;

import com.wangzefeng.shop.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangzefeng.shop.pojo.MenuVo;

import java.util.List;

/**
 * <p>
 * 权限表,相当于菜单表 服务类
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-15
 */
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> getMenuListByRoleId(int roleId);

    List<MenuVo> getMenuTreeByRoleId(int roleId);
}
